package com.atguigu.gulimall.search.respository;

import com.atguigu.gulimall.search.entity.Goods;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

/**
 * @author nicc
 * @version 1.0
 * @className GoodsRepository
 * @date 2022-10-13 03:58
 *
 * 一定给你的ES装好ik分词器, 确保项目启动能够创建索引。
 * 写好接口后启动确认你的mapping是对的。
 */
@Repository
public interface GoodsRepository extends ElasticsearchRepository<Goods, Long> {
}
